package com.ztgf.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单状态表DTO
 *
 * @author YUE
 * @Date 2020-06-23 10:33:48
 */
@Data
@TableName("order_status")
@ApiModel(value = "订单状态表对象", description = "订单状态表对象")
public class OrderStatusDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @ApiModelProperty(value = "订单状态 0待确定、1待签合同、2待付款、3待发货、4待签收、5已签收、6买家取消、7卖家已取消,20，异常订单（倒计时归0）")
    private Integer orderState;
    @ApiModelProperty(value = "卖家废弃合同状态 0未废弃 1卖家废弃中 2卖家已废弃")
    private Integer sellerContactAbandonState;
    @ApiModelProperty(value = "买家废弃合同状态 0未废弃 1买家废弃中 2买家已废弃")
    private Integer buyerContactAbandonState;
    @ApiModelProperty(value = "合同状态 0未签订、1买家签订、2卖家签订、3买家签订中、4卖家签订中、5废弃合同签署中、6废弃合同签署完成")
    private Integer contactState;
    @ApiModelProperty(value = "发票状态 0未开票、1申请中、2已开票")
    private Integer invoiceState;
    @ApiModelProperty(value = "评价状态 0未评价、1已评价")
    private Integer evaluationState;
    @ApiModelProperty(value = "卖家删除状态 0未删除、1已删除")
    private Integer sellerDeleteState;
    @ApiModelProperty(value = "买家删除状态 0未删除、1已删除")
    private Integer buyersDeleteState;
    @ApiModelProperty(value = "货物生产状态 0未生成、1生产中、2生产完成")
    private Integer goodsProductionState;
    @ApiModelProperty(value = "卖家维权状态 0未维权、1申请中、2同意、3不同意")
    private Integer sellerActivistState;
    @ApiModelProperty(value = "买家维权状态 0未维权、1申请中、2同意、3不同意")
    private Integer buyersActivistState;
    @ApiModelProperty(value = "是否过期 0未过期 1过期")
    private Integer isExpiration;
    @ApiModelProperty(value = "催促签订 0未催促 1催促")
    private Integer urgeSign;
    @ApiModelProperty(value = "催促发货 0未催促 1催促")
    private Integer urgeDeliverGoods;
    @ApiModelProperty(value = "退款状态(针对取消订单情况) 0 未退款 1 退款中 2已退款 3退款失败")
    private Integer refundStatus;
    @ApiModelProperty(value = "取消订单说明id")
    private Long cancelOrderReasonId;
    @ApiModelProperty(value = "订单买家完成是否查看，0未查看，1已查看")
    private Integer isBuyerOrderLook;
    @ApiModelProperty(value = "发票买家状态是否查看,0未查看，1已查看")
    private Integer isInvoiceBuyerLook;
    @ApiModelProperty(value = "废弃合同是否查看,0未查看，1已查看")
    private Integer isBuyerContactLook;
    @ApiModelProperty(value = "发票卖家是否查看")
    private Integer isInvoiceSellerLook;
    @ApiModelProperty(value = "订单卖家完成是否查看，0未查看，1已查看")
    private Integer isSellerOrderLook;
    @ApiModelProperty(value = "废弃合同是否查看,0未查看，1已查看")
    private Integer isSellerContactLook;

    @ApiModelProperty(value = "订单佣金支付状态 0未开始，1支付中、2已解冻、3解冻失败")
    private Integer commissionMoneyPayStatus;

    @ApiModelProperty(value = "签收订单金额解冻状态 0未开始，1解冻中、2已解冻、3解冻失败")
    private Integer moneyUnfreezeStatus;
    @ApiModelProperty(value = "签收订单解冻金额")
    private BigDecimal unfreezeMoney;

    @ApiModelProperty(value = "解冻手续费金额")
    private BigDecimal unfreezePurchaseFeeMoneyScalePrice;
    @ApiModelProperty(value = "解冻手续费金额状态 0未处理，1解冻中、2解冻成功、3解冻失败")
    private Integer unfreezePurchaseFeeMoneyScalePriceStatus;

    @ApiModelProperty(value = "签收订单交易金额")
    private BigDecimal lastMoney;
    @ApiModelProperty(value = "解冻手续费金额")
    private BigDecimal lastPurchaseFeeMoneyScalePrice;
    @ApiModelProperty(value = "同步平台开票技术服务费：0未同步，1已同步")
    private Integer synchronizationShopSysInvoiceType;


}